<?php

/**
 * Created by PhpStorm.
 * User: kc
 * Date: 2017/2/24
 * Time: 15:41
 */
class ResourceCityType extends Eloquent
{
    protected $table = 'resource_city_type';

    public static function getCity($city_name){
        return ResourceCityType::where('name','like','%'.$city_name.'%')->first();
    }
}